import Vue from 'vue'
import Vuex from 'vuex'
import dict from './dict'
import getters from './getters'
Vue.use(Vuex)

const store = new Vuex.Store({
	modules:{
		dict
	},
	getters,
    mutations: {
        setMenus(state, items) {
            state.menuItems = [...items]
        },
    }
})

export default store